
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: class Resource</title>
</head><body bgcolor="#f0f0f8">
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Resource">class <strong>Resource</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;class&nbsp;for&nbsp;interacting&nbsp;with&nbsp;a&nbsp;resource.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Resource-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="Resource-get"><strong>get</strong></a> = method(self, **kwargs)</dt><dd><tt>Retrieves&nbsp;one&nbsp;specific&nbsp;poll&nbsp;of&nbsp;a&nbsp;community.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;hl:&nbsp;string,&nbsp;Specifies&nbsp;the&nbsp;interface&nbsp;language&nbsp;(host&nbsp;language)&nbsp;of&nbsp;your&nbsp;user&nbsp;interface.<br>
&nbsp;&nbsp;communityId:&nbsp;integer,&nbsp;The&nbsp;ID&nbsp;of&nbsp;the&nbsp;community&nbsp;for&nbsp;whose&nbsp;poll&nbsp;will&nbsp;be&nbsp;retrieved.&nbsp;(required)<br>
&nbsp;&nbsp;pollId:&nbsp;string,&nbsp;The&nbsp;ID&nbsp;of&nbsp;the&nbsp;poll&nbsp;to&nbsp;get.&nbsp;(required)<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;An&nbsp;object&nbsp;of&nbsp;the&nbsp;form<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;"links":&nbsp;[&nbsp;#&nbsp;List&nbsp;of&nbsp;resources&nbsp;for&nbsp;the&nbsp;community&nbsp;poll.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;#&nbsp;Links&nbsp;to&nbsp;resources&nbsp;related&nbsp;to&nbsp;the&nbsp;parent&nbsp;object.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"href":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;URL&nbsp;of&nbsp;the&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"type":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Media&nbsp;type&nbsp;of&nbsp;the&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"rel":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Relation&nbsp;between&nbsp;the&nbsp;resource&nbsp;and&nbsp;the&nbsp;parent&nbsp;object.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"title":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Title&nbsp;of&nbsp;the&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},<br>
&nbsp;&nbsp;&nbsp;&nbsp;],<br>
&nbsp;&nbsp;&nbsp;&nbsp;"isMultipleAnswers":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;Whether&nbsp;this&nbsp;poll&nbsp;allows&nbsp;voting&nbsp;for&nbsp;more&nbsp;than&nbsp;one&nbsp;option.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"image":&nbsp;{&nbsp;#&nbsp;The&nbsp;image&nbsp;representing&nbsp;the&nbsp;poll.&nbsp;Field&nbsp;is&nbsp;omitted&nbsp;if&nbsp;no&nbsp;image&nbsp;exists.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"url":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;A&nbsp;URL&nbsp;that&nbsp;points&nbsp;to&nbsp;an&nbsp;image&nbsp;of&nbsp;the&nbsp;poll.<br>
&nbsp;&nbsp;&nbsp;&nbsp;},<br>
&nbsp;&nbsp;&nbsp;&nbsp;"endingTime":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;ending&nbsp;date&nbsp;of&nbsp;this&nbsp;poll&nbsp;or&nbsp;empty&nbsp;if&nbsp;the&nbsp;poll&nbsp;doesn't&nbsp;have&nbsp;one.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"isVotingAllowedForNonMembers":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;Whether&nbsp;non-members&nbsp;of&nbsp;the&nbsp;community&nbsp;can&nbsp;vote&nbsp;on&nbsp;the&nbsp;poll.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"isSpam":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;Whether&nbsp;the&nbsp;user&nbsp;has&nbsp;marked&nbsp;this&nbsp;poll&nbsp;as&nbsp;spam.&nbsp;This&nbsp;only&nbsp;affects&nbsp;the&nbsp;poll&nbsp;for&nbsp;this&nbsp;user,&nbsp;not&nbsp;globally.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"totalNumberOfVotes":&nbsp;42,&nbsp;#&nbsp;The&nbsp;total&nbsp;number&nbsp;of&nbsp;votes&nbsp;this&nbsp;poll&nbsp;has&nbsp;received.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"author":&nbsp;{&nbsp;#&nbsp;The&nbsp;person&nbsp;who&nbsp;created&nbsp;the&nbsp;poll.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"url":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;URL&nbsp;of&nbsp;the&nbsp;author&nbsp;who&nbsp;posted&nbsp;the&nbsp;comment&nbsp;[not&nbsp;yet&nbsp;implemented]<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"image":&nbsp;{&nbsp;#&nbsp;Image&nbsp;data&nbsp;about&nbsp;the&nbsp;author.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"url":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;A&nbsp;URL&nbsp;that&nbsp;points&nbsp;to&nbsp;a&nbsp;thumbnail&nbsp;photo&nbsp;of&nbsp;the&nbsp;author.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"displayName":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;name&nbsp;of&nbsp;the&nbsp;author,&nbsp;suitable&nbsp;for&nbsp;display.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"id":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Unique&nbsp;identifier&nbsp;of&nbsp;the&nbsp;person&nbsp;who&nbsp;posted&nbsp;the&nbsp;comment.&nbsp;This&nbsp;is&nbsp;the&nbsp;person's&nbsp;OpenSocial&nbsp;ID.<br>
&nbsp;&nbsp;&nbsp;&nbsp;},<br>
&nbsp;&nbsp;&nbsp;&nbsp;"question":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;poll&nbsp;question.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"id":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;poll&nbsp;ID.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"isRestricted":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;Whether&nbsp;this&nbsp;poll&nbsp;is&nbsp;restricted&nbsp;for&nbsp;members&nbsp;only.&nbsp;If&nbsp;a&nbsp;poll&nbsp;is&nbsp;open&nbsp;but&nbsp;the&nbsp;user&nbsp;can't&nbsp;vote&nbsp;on&nbsp;it,&nbsp;it's&nbsp;been&nbsp;restricted&nbsp;to&nbsp;members&nbsp;only.&nbsp;This&nbsp;information&nbsp;is&nbsp;important&nbsp;to&nbsp;tell&nbsp;this&nbsp;case&nbsp;apart&nbsp;from&nbsp;the&nbsp;one&nbsp;where&nbsp;the&nbsp;user&nbsp;can't&nbsp;vote&nbsp;simply&nbsp;because&nbsp;the&nbsp;poll&nbsp;is&nbsp;already&nbsp;closed.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"communityId":&nbsp;42,&nbsp;#&nbsp;The&nbsp;ID&nbsp;of&nbsp;the&nbsp;community.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"isUsersVotePublic":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;If&nbsp;user&nbsp;has&nbsp;already&nbsp;voted,&nbsp;whether&nbsp;his&nbsp;vote&nbsp;is&nbsp;publicly&nbsp;visible.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"lastUpdate":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;date&nbsp;of&nbsp;the&nbsp;last&nbsp;update&nbsp;of&nbsp;this&nbsp;poll.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"description":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;poll&nbsp;description.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"votedOptions":&nbsp;[&nbsp;#&nbsp;List&nbsp;of&nbsp;options&nbsp;the&nbsp;user&nbsp;has&nbsp;voted&nbsp;on,&nbsp;if&nbsp;there&nbsp;are&nbsp;any.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;42,<br>
&nbsp;&nbsp;&nbsp;&nbsp;],<br>
&nbsp;&nbsp;&nbsp;&nbsp;"isOpenForVoting":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;Whether&nbsp;this&nbsp;poll&nbsp;is&nbsp;still&nbsp;opened&nbsp;for&nbsp;voting.&nbsp;A&nbsp;poll&nbsp;is&nbsp;open&nbsp;for&nbsp;voting&nbsp;if&nbsp;it&nbsp;is&nbsp;not&nbsp;closed,&nbsp;the&nbsp;user&nbsp;has&nbsp;not&nbsp;yet&nbsp;voted&nbsp;on&nbsp;it&nbsp;and&nbsp;the&nbsp;user&nbsp;has&nbsp;the&nbsp;permission&nbsp;to&nbsp;do&nbsp;so,&nbsp;which&nbsp;happens&nbsp;if&nbsp;he/she&nbsp;is&nbsp;either&nbsp;a&nbsp;community&nbsp;member&nbsp;or&nbsp;the&nbsp;poll&nbsp;is&nbsp;open&nbsp;for&nbsp;everybody.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"isClosed":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;Whether&nbsp;the&nbsp;poll&nbsp;is&nbsp;not&nbsp;expired&nbsp;if&nbsp;there&nbsp;is&nbsp;an&nbsp;expiration&nbsp;date.&nbsp;A&nbsp;poll&nbsp;is&nbsp;open&nbsp;(that&nbsp;is,&nbsp;not&nbsp;closed&nbsp;for&nbsp;voting)&nbsp;if&nbsp;it&nbsp;either&nbsp;is&nbsp;not&nbsp;expired&nbsp;or&nbsp;doesn't&nbsp;have&nbsp;an&nbsp;expiration&nbsp;date&nbsp;at&nbsp;all.&nbsp;Note&nbsp;that&nbsp;just&nbsp;because&nbsp;a&nbsp;poll&nbsp;is&nbsp;open,&nbsp;it&nbsp;doesn't&nbsp;mean&nbsp;that&nbsp;the&nbsp;requester&nbsp;can&nbsp;vote&nbsp;on&nbsp;it.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"hasVoted":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;Whether&nbsp;the&nbsp;user&nbsp;has&nbsp;voted&nbsp;on&nbsp;this&nbsp;poll.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"kind":&nbsp;"orkut#communityPoll",&nbsp;#&nbsp;Identifies&nbsp;this&nbsp;resource&nbsp;as&nbsp;a&nbsp;community&nbsp;poll.&nbsp;Value:&nbsp;"orkut#communityPoll"<br>
&nbsp;&nbsp;&nbsp;&nbsp;"creationTime":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;date&nbsp;of&nbsp;creation&nbsp;of&nbsp;this&nbsp;poll<br>
&nbsp;&nbsp;&nbsp;&nbsp;"options":&nbsp;[&nbsp;#&nbsp;List&nbsp;of&nbsp;options&nbsp;of&nbsp;this&nbsp;poll.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"image":&nbsp;{&nbsp;#&nbsp;Image&nbsp;data&nbsp;about&nbsp;the&nbsp;poll&nbsp;option.&nbsp;Field&nbsp;is&nbsp;omitted&nbsp;if&nbsp;no&nbsp;image&nbsp;exists.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"url":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;A&nbsp;URL&nbsp;that&nbsp;points&nbsp;to&nbsp;an&nbsp;image&nbsp;of&nbsp;the&nbsp;poll&nbsp;question.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"optionId":&nbsp;42,&nbsp;#&nbsp;The&nbsp;poll&nbsp;option&nbsp;ID<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"description":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;option&nbsp;description.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"numberOfVotes":&nbsp;42,&nbsp;#&nbsp;The&nbsp;total&nbsp;number&nbsp;of&nbsp;votes&nbsp;that&nbsp;this&nbsp;option&nbsp;received.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},<br>
&nbsp;&nbsp;&nbsp;&nbsp;],<br>
&nbsp;&nbsp;}</tt></dd></dl>

<dl><dt><a name="Resource-list"><strong>list</strong></a> = method(self, **kwargs)</dt><dd><tt>Retrieves&nbsp;the&nbsp;polls&nbsp;of&nbsp;a&nbsp;community.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;pageToken:&nbsp;string,&nbsp;A&nbsp;continuation&nbsp;token&nbsp;that&nbsp;allows&nbsp;pagination.<br>
&nbsp;&nbsp;maxResults:&nbsp;integer,&nbsp;The&nbsp;maximum&nbsp;number&nbsp;of&nbsp;polls&nbsp;to&nbsp;include&nbsp;in&nbsp;the&nbsp;response.<br>
&nbsp;&nbsp;hl:&nbsp;string,&nbsp;Specifies&nbsp;the&nbsp;interface&nbsp;language&nbsp;(host&nbsp;language)&nbsp;of&nbsp;your&nbsp;user&nbsp;interface.<br>
&nbsp;&nbsp;communityId:&nbsp;integer,&nbsp;The&nbsp;ID&nbsp;of&nbsp;the&nbsp;community&nbsp;which&nbsp;polls&nbsp;will&nbsp;be&nbsp;listed.&nbsp;(required)<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;An&nbsp;object&nbsp;of&nbsp;the&nbsp;form<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;"nextPageToken":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;value&nbsp;of&nbsp;pageToken&nbsp;query&nbsp;parameter&nbsp;in&nbsp;community_polls.list&nbsp;request&nbsp;to&nbsp;get&nbsp;the&nbsp;next&nbsp;page,&nbsp;if&nbsp;there&nbsp;are&nbsp;more&nbsp;to&nbsp;retrieve.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"kind":&nbsp;"orkut#communityPollList",&nbsp;#&nbsp;Identifies&nbsp;this&nbsp;resource&nbsp;as&nbsp;a&nbsp;collection&nbsp;of&nbsp;community&nbsp;polls.&nbsp;Value:&nbsp;"orkut#communityPollList"<br>
&nbsp;&nbsp;&nbsp;&nbsp;"items":&nbsp;[&nbsp;#&nbsp;List&nbsp;of&nbsp;community&nbsp;polls&nbsp;retrieved.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"links":&nbsp;[&nbsp;#&nbsp;List&nbsp;of&nbsp;resources&nbsp;for&nbsp;the&nbsp;community&nbsp;poll.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;#&nbsp;Links&nbsp;to&nbsp;resources&nbsp;related&nbsp;to&nbsp;the&nbsp;parent&nbsp;object.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"href":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;URL&nbsp;of&nbsp;the&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"type":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Media&nbsp;type&nbsp;of&nbsp;the&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"rel":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Relation&nbsp;between&nbsp;the&nbsp;resource&nbsp;and&nbsp;the&nbsp;parent&nbsp;object.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"title":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Title&nbsp;of&nbsp;the&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;],<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"isMultipleAnswers":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;Whether&nbsp;this&nbsp;poll&nbsp;allows&nbsp;voting&nbsp;for&nbsp;more&nbsp;than&nbsp;one&nbsp;option.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"image":&nbsp;{&nbsp;#&nbsp;The&nbsp;image&nbsp;representing&nbsp;the&nbsp;poll.&nbsp;Field&nbsp;is&nbsp;omitted&nbsp;if&nbsp;no&nbsp;image&nbsp;exists.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"url":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;A&nbsp;URL&nbsp;that&nbsp;points&nbsp;to&nbsp;an&nbsp;image&nbsp;of&nbsp;the&nbsp;poll.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"endingTime":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;ending&nbsp;date&nbsp;of&nbsp;this&nbsp;poll&nbsp;or&nbsp;empty&nbsp;if&nbsp;the&nbsp;poll&nbsp;doesn't&nbsp;have&nbsp;one.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"isVotingAllowedForNonMembers":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;Whether&nbsp;non-members&nbsp;of&nbsp;the&nbsp;community&nbsp;can&nbsp;vote&nbsp;on&nbsp;the&nbsp;poll.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"isSpam":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;Whether&nbsp;the&nbsp;user&nbsp;has&nbsp;marked&nbsp;this&nbsp;poll&nbsp;as&nbsp;spam.&nbsp;This&nbsp;only&nbsp;affects&nbsp;the&nbsp;poll&nbsp;for&nbsp;this&nbsp;user,&nbsp;not&nbsp;globally.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"totalNumberOfVotes":&nbsp;42,&nbsp;#&nbsp;The&nbsp;total&nbsp;number&nbsp;of&nbsp;votes&nbsp;this&nbsp;poll&nbsp;has&nbsp;received.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"author":&nbsp;{&nbsp;#&nbsp;The&nbsp;person&nbsp;who&nbsp;created&nbsp;the&nbsp;poll.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"url":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;URL&nbsp;of&nbsp;the&nbsp;author&nbsp;who&nbsp;posted&nbsp;the&nbsp;comment&nbsp;[not&nbsp;yet&nbsp;implemented]<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"image":&nbsp;{&nbsp;#&nbsp;Image&nbsp;data&nbsp;about&nbsp;the&nbsp;author.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"url":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;A&nbsp;URL&nbsp;that&nbsp;points&nbsp;to&nbsp;a&nbsp;thumbnail&nbsp;photo&nbsp;of&nbsp;the&nbsp;author.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"displayName":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;name&nbsp;of&nbsp;the&nbsp;author,&nbsp;suitable&nbsp;for&nbsp;display.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"id":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Unique&nbsp;identifier&nbsp;of&nbsp;the&nbsp;person&nbsp;who&nbsp;posted&nbsp;the&nbsp;comment.&nbsp;This&nbsp;is&nbsp;the&nbsp;person's&nbsp;OpenSocial&nbsp;ID.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"question":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;poll&nbsp;question.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"id":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;poll&nbsp;ID.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"isRestricted":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;Whether&nbsp;this&nbsp;poll&nbsp;is&nbsp;restricted&nbsp;for&nbsp;members&nbsp;only.&nbsp;If&nbsp;a&nbsp;poll&nbsp;is&nbsp;open&nbsp;but&nbsp;the&nbsp;user&nbsp;can't&nbsp;vote&nbsp;on&nbsp;it,&nbsp;it's&nbsp;been&nbsp;restricted&nbsp;to&nbsp;members&nbsp;only.&nbsp;This&nbsp;information&nbsp;is&nbsp;important&nbsp;to&nbsp;tell&nbsp;this&nbsp;case&nbsp;apart&nbsp;from&nbsp;the&nbsp;one&nbsp;where&nbsp;the&nbsp;user&nbsp;can't&nbsp;vote&nbsp;simply&nbsp;because&nbsp;the&nbsp;poll&nbsp;is&nbsp;already&nbsp;closed.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"communityId":&nbsp;42,&nbsp;#&nbsp;The&nbsp;ID&nbsp;of&nbsp;the&nbsp;community.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"isUsersVotePublic":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;If&nbsp;user&nbsp;has&nbsp;already&nbsp;voted,&nbsp;whether&nbsp;his&nbsp;vote&nbsp;is&nbsp;publicly&nbsp;visible.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"lastUpdate":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;date&nbsp;of&nbsp;the&nbsp;last&nbsp;update&nbsp;of&nbsp;this&nbsp;poll.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"description":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;poll&nbsp;description.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"votedOptions":&nbsp;[&nbsp;#&nbsp;List&nbsp;of&nbsp;options&nbsp;the&nbsp;user&nbsp;has&nbsp;voted&nbsp;on,&nbsp;if&nbsp;there&nbsp;are&nbsp;any.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;42,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;],<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"isOpenForVoting":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;Whether&nbsp;this&nbsp;poll&nbsp;is&nbsp;still&nbsp;opened&nbsp;for&nbsp;voting.&nbsp;A&nbsp;poll&nbsp;is&nbsp;open&nbsp;for&nbsp;voting&nbsp;if&nbsp;it&nbsp;is&nbsp;not&nbsp;closed,&nbsp;the&nbsp;user&nbsp;has&nbsp;not&nbsp;yet&nbsp;voted&nbsp;on&nbsp;it&nbsp;and&nbsp;the&nbsp;user&nbsp;has&nbsp;the&nbsp;permission&nbsp;to&nbsp;do&nbsp;so,&nbsp;which&nbsp;happens&nbsp;if&nbsp;he/she&nbsp;is&nbsp;either&nbsp;a&nbsp;community&nbsp;member&nbsp;or&nbsp;the&nbsp;poll&nbsp;is&nbsp;open&nbsp;for&nbsp;everybody.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"isClosed":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;Whether&nbsp;the&nbsp;poll&nbsp;is&nbsp;not&nbsp;expired&nbsp;if&nbsp;there&nbsp;is&nbsp;an&nbsp;expiration&nbsp;date.&nbsp;A&nbsp;poll&nbsp;is&nbsp;open&nbsp;(that&nbsp;is,&nbsp;not&nbsp;closed&nbsp;for&nbsp;voting)&nbsp;if&nbsp;it&nbsp;either&nbsp;is&nbsp;not&nbsp;expired&nbsp;or&nbsp;doesn't&nbsp;have&nbsp;an&nbsp;expiration&nbsp;date&nbsp;at&nbsp;all.&nbsp;Note&nbsp;that&nbsp;just&nbsp;because&nbsp;a&nbsp;poll&nbsp;is&nbsp;open,&nbsp;it&nbsp;doesn't&nbsp;mean&nbsp;that&nbsp;the&nbsp;requester&nbsp;can&nbsp;vote&nbsp;on&nbsp;it.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"hasVoted":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;Whether&nbsp;the&nbsp;user&nbsp;has&nbsp;voted&nbsp;on&nbsp;this&nbsp;poll.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"kind":&nbsp;"orkut#communityPoll",&nbsp;#&nbsp;Identifies&nbsp;this&nbsp;resource&nbsp;as&nbsp;a&nbsp;community&nbsp;poll.&nbsp;Value:&nbsp;"orkut#communityPoll"<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"creationTime":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;date&nbsp;of&nbsp;creation&nbsp;of&nbsp;this&nbsp;poll<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"options":&nbsp;[&nbsp;#&nbsp;List&nbsp;of&nbsp;options&nbsp;of&nbsp;this&nbsp;poll.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"image":&nbsp;{&nbsp;#&nbsp;Image&nbsp;data&nbsp;about&nbsp;the&nbsp;poll&nbsp;option.&nbsp;Field&nbsp;is&nbsp;omitted&nbsp;if&nbsp;no&nbsp;image&nbsp;exists.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"url":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;A&nbsp;URL&nbsp;that&nbsp;points&nbsp;to&nbsp;an&nbsp;image&nbsp;of&nbsp;the&nbsp;poll&nbsp;question.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"optionId":&nbsp;42,&nbsp;#&nbsp;The&nbsp;poll&nbsp;option&nbsp;ID<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"description":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;option&nbsp;description.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"numberOfVotes":&nbsp;42,&nbsp;#&nbsp;The&nbsp;total&nbsp;number&nbsp;of&nbsp;votes&nbsp;that&nbsp;this&nbsp;option&nbsp;received.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;],<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},<br>
&nbsp;&nbsp;&nbsp;&nbsp;],<br>
&nbsp;&nbsp;&nbsp;&nbsp;"prevPageToken":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;value&nbsp;of&nbsp;pageToken&nbsp;query&nbsp;parameter&nbsp;in&nbsp;community_polls.list&nbsp;request&nbsp;to&nbsp;get&nbsp;the&nbsp;previous&nbsp;page,&nbsp;if&nbsp;there&nbsp;are&nbsp;more&nbsp;to&nbsp;retrieve.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"lastPageToken":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;value&nbsp;of&nbsp;pageToken&nbsp;query&nbsp;parameter&nbsp;in&nbsp;community_polls.list&nbsp;request&nbsp;to&nbsp;get&nbsp;the&nbsp;last&nbsp;page.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"firstPageToken":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;value&nbsp;of&nbsp;pageToken&nbsp;query&nbsp;parameter&nbsp;in&nbsp;community_polls.list&nbsp;request&nbsp;to&nbsp;get&nbsp;the&nbsp;first&nbsp;page.<br>
&nbsp;&nbsp;}</tt></dd></dl>

<dl><dt><a name="Resource-list_next"><strong>list_next</strong></a> = methodNext(self, previous_request, previous_response)</dt><dd><tt>Retrieves&nbsp;the&nbsp;next&nbsp;page&nbsp;of&nbsp;results.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;previous_request:&nbsp;The&nbsp;request&nbsp;for&nbsp;the&nbsp;previous&nbsp;page.<br>
&nbsp;&nbsp;previous_response:&nbsp;The&nbsp;response&nbsp;from&nbsp;the&nbsp;request&nbsp;for&nbsp;the&nbsp;previous&nbsp;page.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;request&nbsp;object&nbsp;that&nbsp;you&nbsp;can&nbsp;call&nbsp;'execute()'&nbsp;on&nbsp;to&nbsp;request&nbsp;the&nbsp;next<br>
&nbsp;&nbsp;page.&nbsp;Returns&nbsp;None&nbsp;if&nbsp;there&nbsp;are&nbsp;no&nbsp;more&nbsp;items&nbsp;in&nbsp;the&nbsp;collection.</tt></dd></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table>
</body></html>